package cn.wonderland.resthome.domain;


import cn.wonderland.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wonderland
 * @since 2023-05-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Oldman extends BaseDomain {
    
    /**
     * 姓名
     */
    private String oldmanName;
    /**
     * 性别: 1 男 || 0 女
     */
    private Integer sex;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 身体状况: 较好 || 正常 || 较差
     */
    private Integer physicalCondition;
    /**
     * 户籍
     */
    private String householdRegistration;
    /**
     * 身份证号码
     */
    private String idcard;
    /**
     * 家属
     */
    private String familyMembers;
    /**
     * 家属联系电话
     */
    private String familyContactNumber;
    /**
     * 家挺地址
     */
    private String homeAddress;
    /**
     * 入院时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkInTime;
    /**
     * 出院时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dischargeTime;
    /**
     * 老人状态：住院中 已出院
     */
    private Integer state;
    /**
     * 床位id 
     */
    private Long bedId;
    /**
     * 护工id
     */
    private Long nurseId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


    private Bed bed;

    private Nurse nurse;
    
}
